var cnt=0;
var timer=setInterval(function () {
    if(++cnt>10)return clearInterval(timer);
    process.stdout.write(new Date().toString()+'\n');
},100);
